package cn.rkylin.oms.aftersale.resend.dao;

import java.util.List;

import cn.rkylin.oms.aftersale.resend.domain.AfterSaleResendSku;

public interface IAfterSaleResendSkuDAO {

    /**
     * updateByResendSkuIdSelective:根据补发单明细ID更新补发单. <br/>
     * 
     * @param record
     * @throws Exception
     */
    public int updateByResendSkuIdSelective(AfterSaleResendSku record) throws Exception;

    public int updateByResendSkuByResend(AfterSaleResendSku record) throws Exception;

    /**
     * insertResendSku：插入数据库. <br/>
     * 
     * @param afterSaleResendSku
     */
    public int insertResendSku(AfterSaleResendSku afterSaleResendSku) throws Exception;

    /**
     * 根据补发单id查询补发单明细
     * 
     * @param resendId
     * @return
     * @throws Exception
     */
    public List<AfterSaleResendSku> selectResendSkubyresendId(String resendId) throws Exception;

    /**
     * 根据补发单商品id查询补发单明细
     * 
     * @param resendSkuId
     * @return
     * @throws Exception
     */
    public AfterSaleResendSku selectResendSkubyresendSkuId(String resendSkuId) throws Exception;

}